package com.tyg.mapper;

import com.tyg.entity.UserInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 工作人员表 Mapper 接口
 * </p>
 *
 * @author zhangjingnan
 * @since 2022-10-22
 */
@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfo> {

    public List<UserInfo> getUserList(Map<String,Object> map);

    public int updateUser(UserInfo user);

    public int updateUserRole(UserInfo user);


}
